/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.herenit.beijing.poc.empi.view;

import com.herenit.beijing.poc.empi.*;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JScrollPane;
import javax.swing.JTable;

/**
 *
 * @author Obama
 */
public class EmpiListPanel extends javax.swing.JPanel {

    /**
     * Creates new form EmpiListPanel
     */
    public EmpiListPanel() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        pageNoLabel = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        lastButton = new javax.swing.JButton();
        jLabel4 = new javax.swing.JLabel();
        totalPageLabel = new javax.swing.JLabel();
        nextButton = new javax.swing.JButton();
        jScrollPane1 = new javax.swing.JScrollPane();
        listTable = new javax.swing.JTable();
        searchButton = new javax.swing.JButton();

        jLabel1.setText(org.openide.util.NbBundle.getMessage(EmpiListPanel.class, "EmpiListPanel.jLabel1.text")); // NOI18N

        jLabel2.setText(org.openide.util.NbBundle.getMessage(EmpiListPanel.class, "EmpiListPanel.jLabel2.text")); // NOI18N

        pageNoLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        pageNoLabel.setText(org.openide.util.NbBundle.getMessage(EmpiListPanel.class, "EmpiListPanel.pageNoLabel.text")); // NOI18N

        jLabel6.setText(org.openide.util.NbBundle.getMessage(EmpiListPanel.class, "EmpiListPanel.jLabel6.text")); // NOI18N

        lastButton.setText(org.openide.util.NbBundle.getMessage(EmpiListPanel.class, "EmpiListPanel.lastButton.text")); // NOI18N

        jLabel4.setText(org.openide.util.NbBundle.getMessage(EmpiListPanel.class, "EmpiListPanel.jLabel4.text")); // NOI18N

        totalPageLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        totalPageLabel.setText(org.openide.util.NbBundle.getMessage(EmpiListPanel.class, "EmpiListPanel.totalPageLabel.text")); // NOI18N

        nextButton.setText(org.openide.util.NbBundle.getMessage(EmpiListPanel.class, "EmpiListPanel.nextButton.text")); // NOI18N

        jScrollPane1.setAutoscrolls(true);

        listTable.setToolTipText(org.openide.util.NbBundle.getMessage(EmpiListPanel.class, "EmpiListPanel.listTable.toolTipText")); // NOI18N
        listTable.setColumnSelectionAllowed(true);
        listTable.getTableHeader().setReorderingAllowed(false);
        jScrollPane1.setViewportView(listTable);

        searchButton.setText(org.openide.util.NbBundle.getMessage(EmpiListPanel.class, "EmpiListPanel.searchButton.text")); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGap(0, 66, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jLabel1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(pageNoLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel2)
                        .addGap(59, 59, 59)
                        .addComponent(jLabel4)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(totalPageLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel6)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(lastButton)
                        .addGap(30, 30, 30)
                        .addComponent(nextButton))
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addComponent(searchButton, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 692, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(215, 215, 215))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGap(53, 53, 53)
                .addComponent(searchButton)
                .addGap(18, 18, 18)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 205, Short.MAX_VALUE)
                .addGap(24, 24, 24)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel1)
                    .addComponent(pageNoLabel)
                    .addComponent(jLabel2)
                    .addComponent(totalPageLabel)
                    .addComponent(jLabel6)
                    .addComponent(jLabel4)
                    .addComponent(lastButton)
                    .addComponent(nextButton))
                .addGap(155, 155, 155))
        );
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JButton lastButton;
    private javax.swing.JTable listTable;
    private javax.swing.JButton nextButton;
    private javax.swing.JLabel pageNoLabel;
    private javax.swing.JButton searchButton;
    private javax.swing.JLabel totalPageLabel;
    // End of variables declaration//GEN-END:variables

    public JLabel getjLabel1() {
        return jLabel1;
    }

    public void setjLabel1(JLabel jLabel1) {
        this.jLabel1 = jLabel1;
    }

    public JLabel getjLabel2() {
        return jLabel2;
    }

    public void setjLabel2(JLabel jLabel2) {
        this.jLabel2 = jLabel2;
    }

    public JLabel getjLabel4() {
        return jLabel4;
    }

    public void setjLabel4(JLabel jLabel4) {
        this.jLabel4 = jLabel4;
    }

    public JLabel getjLabel6() {
        return jLabel6;
    }

    public void setjLabel6(JLabel jLabel6) {
        this.jLabel6 = jLabel6;
    }

    public JScrollPane getjScrollPane1() {
        return jScrollPane1;
    }

    public void setjScrollPane1(JScrollPane jScrollPane1) {
        this.jScrollPane1 = jScrollPane1;
    }

    public JTable getjTable1() {
        return listTable;
    }

    public void setjTable1(JTable jTable1) {
        this.listTable = jTable1;
    }

    public JButton getLastButton() {
        return lastButton;
    }

    public void setLastButton(JButton lastButton) {
        this.lastButton = lastButton;
    }

    public JButton getNextButton() {
        return nextButton;
    }

    public void setNextButton(JButton nextButton) {
        this.nextButton = nextButton;
    }

    public JLabel getPageNoLabel() {
        return pageNoLabel;
    }

    public void setPageNoLabel(JLabel pageNoLabel) {
        this.pageNoLabel = pageNoLabel;
    }

    public JButton getSearchButton() {
        return searchButton;
    }

    public void setSearchButton(JButton searchButton) {
        this.searchButton = searchButton;
    }

    public JLabel getTotalPageLabel() {
        return totalPageLabel;
    }

    public void setTotalPageLabel(JLabel totalPageLabel) {
        this.totalPageLabel = totalPageLabel;
    }



}
